<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<html>
  <head>
    
     <title>员工添加</title>
    <META http-equiv=Content-Type content="text/html; charset=utf-8">

		<STYLE type=text/css>
a {text-decoration:none; COLOR: white }
.gridView {
	BORDER-RIGHT: #bad6ec 1px;
	BORDER-TOP: #bad6ec 1px;
	BORDER-LEFT: #bad6ec 1px;
	COLOR: #566984;
	BORDER-BOTTOM: #bad6ec 1px;
	FONT-FAMILY: Courier New;
	OVERLOW-X:AUTO;
}

.gridViewHeader {
	BORDER-RIGHT: #bad6ec 1px solid;
	BORDER-TOP: #bad6ec 1px solid;
	BACKGROUND-IMAGE: url(../images/bg_th.gif);
	BORDER-LEFT: #bad6ec 1px solid;
	LINE-HEIGHT: 27px;
	BORDER-BOTTOM: #bad6ec 1px solid
}

.gridViewItem {
	BORDER-RIGHT: #bad6ec 1px solid;
	BORDER-TOP: #bad6ec 1px solid;
	BORDER-LEFT: #bad6ec 1px solid;
	LINE-HEIGHT: 32px;
	BORDER-BOTTOM: #bad6ec 1px solid;
	TEXT-ALIGN: center
}

.cmdField {
	BORDER-RIGHT: 0px;
	BORDER-TOP: 0px;
	BACKGROUND-IMAGE: url(../images/bg_rectbtn.png);
	OVERFLOW: hidden;
	BORDER-LEFT: 0px;
	WIDTH: 67px;
	COLOR: #364c6d;
	LINE-HEIGHT: 27px;
	BORDER-BOTTOM: 0px;
	BACKGROUND-REPEAT: repeat-x;
	HEIGHT: 27px;
	BACKGROUND-COLOR: transparent;
	TEXT-DECORATION: none
}

.buttonBlue {
	BORDER-RIGHT: 0px;
	BORDER-TOP: 0px;
	BACKGROUND-IMAGE: url(../images/bg_button_blue.gif);
	BORDER-LEFT: 0px;
	WIDTH: 78px;
	COLOR: white;
	BORDER-BOTTOM: 0px;
	BACKGROUND-REPEAT: no-repeat;
	HEIGHT: 21px body {   font : 9px
}
}
 html { overflow-x: auto; overflow-y: auto; }
</STYLE>
<link href="../login.files/public.css" rel="stylesheet" style="text/css">

<META content="MSHTML 6.00.2900.5848" name=GENERATOR>

  </head>
  
  <body style="BACKGROUND-POSITION-Y: -120px; BACKGROUND-IMAGE: url(../images/bg.gif); BACKGROUND-REPEAT: repeat-x">
      <SCRIPT type=text/javascript>
//<![CDATA[
function doPostBack() {
    	document.getElementById('myForm').submit();
}
//]]>
</SCRIPT>
    <DIV>

  <TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0>
    <TBODY>
      <TR style="BACKGROUND-IMAGE: url(../images/bg_header.gif); BACKGROUND-REPEAT: repeat-x" height=47>
        <TD width=10><SPAN style="FLOAT: left; BACKGROUND-IMAGE: url(../images/main_hl.gif); WIDTH: 15px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 47px">
                    </SPAN></TD>
        <TD><SPAN style="FLOAT: left; BACKGROUND-IMAGE: url(../images/main_hl2.gif); WIDTH: 15px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 47px">
            </SPAN>
            <SPAN style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; FLOAT: left; BACKGROUND-IMAGE: url(../images/main_hb.gif); PADDING-BOTTOM: 10px; COLOR: white; PADDING-TOP: 10px; BACKGROUND-REPEAT: repeat-x; HEIGHT: 47px; TEXT-ALIGN: center; 0px: ">
                               添加员工</SPAN><SPAN style="FLOAT: left; BACKGROUND-IMAGE: url(../images/main_hr.gif); WIDTH: 60px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 47px"></SPAN></TD>
        <TD style="BACKGROUND-POSITION: 50% bottom; BACKGROUND-IMAGE: url(../images/main_rc.gif)" width=10></TD>
      </TR>
      <TR>
        <TD style="BACKGROUND-IMAGE: url(../images/main_ls.gif)">&nbsp;</TD>
        <TD style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; COLOR: #566984; PADDING-TOP: 10px; BACKGROUND-COLOR: white" vAlign=top align=center>
          <DIV>
           <form id="myform" action="userAction_insertuser.action" method="post">
            <TABLE class=gridView id=ctl00_ContentPlaceHolder2_GridView1 style="WIDTH: 50%; BORDER-COLLAPSE: collapse" cellSpacing=0 rules=all border=1 align="left">
              <TBODY>
              	<TR>  
                  <TH class=gridViewHeader scope=col>用户名</TH>
                  <TD class=gridViewItem>
                       <INPUT TYPE="TEXT" NAME="user.account" />
                  </TD>
                </TR>
                <TR>  
                  <TH class=gridViewHeader scope=col>密码</TH>
                  <TD class=gridViewItem>
                       <INPUT TYPE="TEXT" NAME="user.pwd" />
                  </TD>
                </TR>
                <TR>  
                  <TH class=gridViewHeader scope=col>职务</TH>
                  <TD class=gridViewItem>
                      <INPUT TYPE="TEXT" NAME="user.post" />
                  </TD>
                </TR>
                <TR> 
                  <TH class=gridViewHeader scope=col>姓名</TH>
                    <TD class=gridViewItem>
					<INPUT TYPE="TEXT" NAME="user.name" />
                    </TD>
                </TR>
                                 <TR>  
                  <TH class=gridViewHeader scope=col>性别</TH>
                  <TD class=gridViewItem>
                  		男<INPUT TYPE="radio" " NAME="user.sex" value="男"/>
                   	    女	<INPUT TYPE="radio" " NAME="user.sex" value="女" />
                  </TD>
                </TR>               
                
               <TR>  
                  <TH class=gridViewHeader scope=col>年龄</TH>
                  <TD class=gridViewItem>
						<INPUT TYPE="TEXT" NAME="user.age" />
                  </TD>
                </TR>                    
                
               <TR>  
                  <TH class=gridViewHeader scope=col>联系方式</TH>
                  <TD class=gridViewItem>
						<INPUT TYPE="TEXT" NAME="user.telephone" />
                  </TD>
                </TR> 
              	<TR>  
                  <TH class=gridViewHeader scope=col>电子邮箱</TH>
                  <TD class=gridViewItem>
						<INPUT TYPE="TEXT" NAME="user.email" />
                  </TD>
                </TR>                 
              	<TR>  
                  <TH class=gridViewHeader scope=col>地址</TH>
                  <TD class=gridViewItem>
						<INPUT TYPE="TEXT" NAME="user.address" />
                  </TD>
                </TR>    
                
    
                <TR>  
                  <TH class=gridViewHeader scope=col>邮政编码</TH>
                  <TD class=gridViewItem>
						<INPUT TYPE="TEXT" NAME="user.zipcode" />
                  </TD>
                </TR>                   
                
              	<TR>  
                  <TH class=gridViewHeader scope=col>传真</TH>
                  <TD class=gridViewItem>
						<INPUT TYPE="TEXT" NAME="user.fax" />
                  </TD>
                </TR>
               <TR>
                  <TH class=gridviewHeader scope=col>操作</TH>
                     <TD class=gridViewItem>
					    <A class=cmdField
                             id=ctl00_ContentPlaceHolder2_GridView1_ctl02_LinkButton1
						     onclick="doPostBack();">添加</A>
					</TD>
               </TR>
              </TBODY>
            </TABLE>
          </form>
          </DIV>
        </TD>
        <TD style="BACKGROUND-IMAGE: url(../images/main_rs.gif)"></TD>
      </TR>
      <TR 
  style="BACKGROUND-IMAGE: url(../images/main_fs.gif); BACKGROUND-REPEAT: repeat-x" 
  height=10>
        <TD style="BACKGROUND-IMAGE: url(../images/main_lf.gif)"></TD>
        <TD style="BACKGROUND-IMAGE: url(../images/main_fs.gif)"></TD>
        <TD 
style="BACKGROUND-IMAGE: url(../images/main_rf.gif)"></TD>
      </TR>
    </TBODY>
  </TABLE>
</DIV>
  </body>
</html>
